"""blockchain_teach_back URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from HelloWorld.service import user, fisco_test, contract, feed_trace

urlpatterns = [
    path('admin/', admin.site.urls),
    path('user/create', user.create),
    path('user/login', user.login),
    path('user/token_verify', user.token_verify),
    path('contract/list', fisco_test.list_contract),
    path('contract/helloworld/set', fisco_test.helloworld_set),
    path('contract/helloworld/get', fisco_test.helloworld_get),
    path('contract/set', contract.set_contract),
    path('contract/get', contract.get_contract),
    path('contract/feedtrace/create_specific_order', feed_trace.create_specific_order),
    path('contract/feedtrace/get_specific_order', feed_trace.get_specific_order),
    path('contract/feedtrace/set_user_role', feed_trace.set_user_role),
    path('contract/feedtrace/get_user_role', feed_trace.get_user_role),
    path('contract/feedtrace/create_feed', feed_trace.create_feed),
    path('contract/feedtrace/get_feed', feed_trace.get_feed),
    path('contract/feedtrace/create_order', feed_trace.create_order),
    path('contract/feedtrace/get_order', feed_trace.get_order),
    # path('contract/feedtrace/create_specific_order', feed_trace.create_specific_order),
    # path('contract/feedtrace/get_specific_order', feed_trace.get_specific_order),

]
